<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
    <style>
      * {
        padding: 0;
        margin: 0;
        box-sizing: border-box;
      }

      body {
        width: 100vw;
        height: 100vh;
        background: #2c3e50;
        display: flex;
        justify-content: center;
        align-items: center;
      }

      main {
        width: 400px;
        height: 400px;
        /* border: solid 1px red; */
        display: flex;
        justify-content: center;
        align-items: center;
      }

      main div {
        color: #fff;
        font-size: 2em;
      }

      main div strong {
        display: inline-block;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        color: #fff;
        text-align: center;
        margin: 5px;
        transition: 2s;
        /* line-height: 2em; */
      }

      main div strong:nth-child(1) {
        background: yellow;
      }

      main div strong:nth-child(2) {
        background: green;
      }

      main:hover strong:nth-child(1) {
        transform: rotate(360deg);
      }

      main:hover strong:nth-child(2) {
        transform: rotate(-360deg);
      }
    </style>
  </head>
  <body>
    <main>
      <div><strong>h</strong>ou<strong>d</strong>unren.com</div>
    </main>
  </body>
</html>
